//
//  Mediator+BKMyOrderDetail.m
//  bestkeep
//
//  Created by Mr. Wu on 16/12/14.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import "Mediator+BKMyOrderDetail.h"

@implementation Mediator (BKMyOrderDetail)
NSString *const BKMyOrderDetailTarget =@"BKMyOrderDetailAction";
NSString *const BKMyOrderDetailController =@"GetMyOrderDetailAction:";
NSString *const BKMyOrderController = @"getMyOrderAction";

-(UIViewController *)GetBKMyOrderDetailController:(NSString *)Order_no{
    
    
    MediatorOptions *options = [MediatorOptions optionsWithTargetName:BKMyOrderDetailTarget actionName:BKMyOrderDetailController];
    options.parameters = @{@"Order_no":Order_no};
    
   UIViewController *controller= [self performWithOptions:options];
    return controller;
}

-(UIViewController *)GetBKMyOrderViewController{
    
    
    MediatorOptions *options = [MediatorOptions optionsWithTargetName:BKMyOrderDetailTarget actionName:BKMyOrderController];
    UIViewController *controller= [self performWithOptions:options];
    return controller;
   }
@end
